<div class="bs-docs-header" id="content">
    <div class="container">
        <h1>范范博客后台管理</h1>
        <button class="btn btn-primary" id="buckup_db">备份数据</button>
    </div>
</div>
<!-- start site's main content area -->
<section class="content-wrap" style="margin-top: 20px;">
    <div class="container" style="margin-top: 10px">
        <div class="row">
            <main class="col-md-9 col-xs-9 col-lg-9 col-sm-9 main-content">
                <div id="index_main">
                    <div class="panel panel-danger" id="visit_info">
                        <div class="panel-heading">
                            <h3 class="panel-title">访客记录<span class="pull-right glyphicon glyphicon-refresh"
                                                              style="cursor: pointer"
                                                              onclick="show_visit_info_list(0, 10);"></span></h3>
                        </div>
                        <div class="pannel-body" style="text-align: center">
                                <span class="text-center col-md-6">今日访客人数：<strong
                                        class="text-danger" id="visit_info_today_total"></strong></span>
                                <span class="text-center col-md-6">总共访客人数：<strong
                                        class="text-danger" id="visit_info_total"></strong></span>
                            <canvas id="visit_chart" width="800" height="100"></canvas>
                        </div>
                        <table class="table" id="visit_info_table">

                        </table>
                        <nav class="pagination" role="navigation">
                            <a class="newer-posts" id="visit_info_page_pre"
                               style="cursor: pointer;text-decoration : none;background: #a94442"><i
                                    class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background: #a94442">第 <strong
                                        id="visit_info_this_page"></strong> 页 ⁄ 共 <strong
                                        id="visit_info_page_num"></strong> 页</span>
                            <a class="older-posts" id="visit_info_page_next"
                               style="cursor: pointer;text-decoration : none;background: #a94442"><i
                                    class="glyphicon glyphicon-chevron-right"></i></a>
                        </nav>
                    </div>
                    <div class="panel panel-primary" id="word">
                        <div class="panel-heading">
                            <h3 class="panel-title">文章列表<span class="pull-right glyphicon glyphicon-refresh"
                                                              style="cursor: pointer"
                                                              onclick="show_word_list(0, 10);"></span></h3>
                        </div>
                        <div class="panel-body">
                            <button class="btn btn-primary" id="show_word_create_model">新建文章</button>
                        </div>
                        <table class="table" id="word_table">

                        </table>
                            <nav class="pagination" role="navigation">
                                <a class="newer-posts" id="word_page_pre"
                                   style="cursor: pointer;text-decoration : none;background: #337ab7;"><i
                                        class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background: #337ab7;">第 <strong
                                        id="word_this_page"></strong> 页 ⁄ 共 <strong
                                        id="word_page_num"></strong> 页</span>
                                <a class="older-posts" id="word_page_next"
                                   style="cursor: pointer;text-decoration : none;background: #337ab7;"><i
                                        class="glyphicon glyphicon-chevron-right"></i></a>
                            </nav>

                    </div>
                    <div class="panel panel-success" id="reply">
                        <div class="panel-heading">
                            <h3 class="panel-title">留言记录<span class="pull-right glyphicon glyphicon-refresh"
                                                              style="cursor: pointer"
                                                              onclick="show_reply_list(0, 10);"></span></h3>
                        </div>
                            <table class="table" id="reply_list">

                            </table>
                            <nav class="pagination" role="navigation">
                                <a class="newer-posts" id="reply_page_pre"
                                   style="cursor: pointer;text-decoration : none;background: #3c763d"><i
                                        class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background:#3c763d;">第 <strong
                                        id="reply_this_page"></strong> 页 ⁄ 共 <strong
                                        id="reply_page_num"></strong> 页</span>
                                <a class="older-posts" id="reply_page_next"
                                   style="cursor: pointer;text-decoration : none;background: #3c763d"><i
                                        class="glyphicon glyphicon-chevron-right"></i></a>
                            </nav>
                    </div>
                    <div class="panel panel-info" id="label">
                        <div class="panel-heading">
                            <h3 class="panel-title">标签列表<span class="pull-right glyphicon glyphicon-refresh"
                                                              style="cursor: pointer"
                                                              onclick="show_label_list(0, 10);"></span></h3>
                        </div>
                        <div class="panel-body">
                            <button class="btn btn-info" id="show_label_create_model">新建标签</button>
                        </div>
                        <table class="table" id="label_list">

                            </table>
                            <nav class="pagination" role="navigation">
                                <a class="newer-posts" id="label_page_pre"
                                   style="cursor: pointer;text-decoration : none;background:#31708f"><i
                                        class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background:#31708f">第 <strong
                                        id="label_this_page"></strong> 页 ⁄ 共 <strong
                                        id="label_page_num"></strong> 页</span>
                                <a class="older-posts" id="label_page_next"
                                   style="cursor: pointer;text-decoration : none;background:#31708f"><i
                                        class="glyphicon glyphicon-chevron-right"></i></a>
                            </nav>
                    </div>
                    <div class="panel panel-warning" id="about_me">
                        <div class="panel-heading">
                            <h3 class="panel-title">关于我</h3>
                        </div>
                        <div class="panel-body">
                            <table class="table" id="about_me_info">
                                <tr>
                                    <td class="col-xs-6 col-md-3">

                                            <span class="input-group-addon" id="basic-addon1">QQ</span>
                                            <input type="text" class="form-control" id="about_me_qq"
                                                   value="<?= $about_me['qq'] ?>" aria-describedby="basic-addon1"
                                                   readOnly>

                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">Emial</span>
                                        <input type="email" class="form-control" id="about_me_email"
                                               value="<?= $about_me['email'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">QQ空间名</span>
                                        <input type="text" class="form-control" id="about_me_qq_zone_title"
                                               value="<?= $about_me['qq_zone_title'] ?>"
                                               aria-describedby="basic-addon1" readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">QQ空间地址</span>
                                        <input type="text" class="form-control" id="about_me_qq_zone_href"
                                               value="<?= $about_me['qq_zone_href'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="col-xs-6 col-md-3">

                                        <span class="input-group-addon" id="basic-addon1">新浪微博名</span>
                                        <input type="text" class="form-control" id="about_me_sina_title"
                                               value="<?= $about_me['sina_title'] ?>" aria-describedby="basic-addon1"
                                               readOnly>

                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">新浪微博地址</span>
                                        <input type="email" class="form-control" id="about_me_sina_href"
                                               value="<?= $about_me['sina_href'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">人人名</span>
                                        <input type="text" class="form-control" id="about_me_renren_href"
                                               value="<?= $about_me['renren_title'] ?>"
                                               aria-describedby="basic-addon1" readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">人人地址</span>
                                        <input type="text" class="form-control" id="about_me_renren_title"
                                               value="<?= $about_me['renren_href'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="col-xs-6 col-md-3">

                                        <span class="input-group-addon" id="basic-addon1">所在城市</span>
                                        <input type="text" class="form-control" id="about_me_city"
                                               value="<?= $about_me['city'] ?>" aria-describedby="basic-addon1"
                                               readOnly>

                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">学校</span>
                                        <input type="email" class="form-control" id="about_me_school"
                                               value="<?= $about_me['school'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">学院</span>
                                        <input type="text" class="form-control" id="about_me_college"
                                               value="<?= $about_me['college'] ?>"
                                               aria-describedby="basic-addon1" readOnly>
                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">专业</span>
                                        <input type="text" class="form-control" id="about_me_field"
                                               value="<?= $about_me['field'] ?>" aria-describedby="basic-addon1"
                                               readOnly>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="col-xs-6 col-md-3">

                                        <span class="input-group-addon" id="basic-addon1">签名</span>
                                        <textarea class="form-control" rows="3"
                                                  id="about_me_sign" readOnly><?= $about_me['sign'] ?></textarea>

                                    </td>
                                    <td class="col-xs-6 col-md-3">
                                        <span class="input-group-addon" id="basic-addon1">自我介绍</span>
                                        <textarea class="form-control" rows="3"
                                                  id="about_me_introduce_me"
                                                  readOnly><?= $about_me['introduce_me'] ?></textarea>
                                    </td>
                                    <td class="col-xs-6 col-md-3" style="line-height:100px;text-align:center;">
                                        <button type="button" class="btn btn-warning" id="replace_about_me">修改</button>
                                        <button type="button" class="btn btn-warning" id="update_about_me"
                                                style="display: none;">更新
                                        </button>
                                        <button type="button" class="btn btn-danger" id="return_about_me"
                                                style="display: none;margin-left: 20px">取消
                                        </button>
                                    </td>
                                    <td class="col-xs-6 col-md-3" style="line-height:100px;text-align:center;">
                                        <button type="button" class="btn btn-primary" id="update_photo"
                                                data-toggle="modal" data-target=".bs-example-modal-lg">照片修改
                                        </button>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="panel panel-danger" id="friend_href">
                        <div class="panel-heading">
                            <h3 class="panel-title">
                                友情链接
                                <span class="pull-right glyphicon glyphicon-refresh" style="cursor: pointer"
                                      onclick="show_friend_href_list(0, 10);"></span>
                            </h3>
                        </div>
                        <div class="panel-body">
                            <button class="btn btn-danger" id="show_friend_href_create_model">新建友情链接</button>
                        </div>
                        <table class="table" id="friend_href_list">

                        </table>
                        <nav class="pagination" role="navigation">
                            <a class="newer-posts" id="friend_href_page_pre"
                               style="cursor: pointer;text-decoration : none;background:#a94442;"><i
                                    class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background:#a94442">第 <strong
                                        id="friend_href_this_page"></strong> 页 ⁄ 共 <strong
                                        id="friend_href_page_num"></strong> 页</span>
                            <a class="older-posts" id="friend_href_page_next"
                               style="cursor: pointer;text-decoration : none;background:#a94442;"><i
                                    class="glyphicon glyphicon-chevron-right"></i></a>
                        </nav>
                        </div>
                    <div class="panel panel-primary" id="blog">
                        <div class="panel-heading">
                            <h3 class="panel-title">系统日志<span class="pull-right glyphicon glyphicon-refresh"
                                                              style="cursor: pointer"
                                                              onclick="show_blog_list(0, 10);"></span></h3>
                        </div>
                        <div class="panel-body">
                            <table class="table" id="blog_table">
                            </table>
                            <nav class="pagination" role="navigation">
                                <a class="newer-posts" id="blog_page_pre"
                                   style="cursor: pointer;text-decoration : none;background: #337ab7;"><i
                                        class="glyphicon glyphicon-chevron-left"></i></a>
                                <span class="page-number" style="background: #337ab7;">第 <strong
                                        id="blog_this_page"></strong> 页 ⁄ 共 <strong
                                        id="blog_page_num"></strong> 页</span>
                                <a class="older-posts" id="blog_page_next"
                                   style="cursor: pointer;text-decoration : none;background: #337ab7;"><i
                                        class="glyphicon glyphicon-chevron-right"></i></a>
                            </nav>
                        </div>
                    </div>
                    <div class="panel panel-success" id="keyword">
                        <div class="panel-heading">
                            <h3 class="panel-title">敏感词<span class="pull-right glyphicon glyphicon-refresh"
                                                             style="cursor: pointer"
                                                             onclick=" show_keyword_list(0, 10);"></span></h3>
                        </div>
                        <div class="panel-body">
                            <button class="btn btn-success" id="show_keyword_create_model">新建敏感词</button>
                            <input type="button" class="btn btn-info" id="upload_keyword" value="文本上传敏感词"
                                   style="margin-left: 10px"/>
                            <button class="btn btn-danger" id="distinct_keywords" style="margin-left: 10px">敏感词去重
                            </button>
                            <table class="table" id="keyword_table">

                            </table>
                            <nav class="pagination" role="navigation">
                                <a class="newer-posts" id="keyword_page_pre"
                                   style="cursor: pointer;text-decoration : none;background: #3c763d"><i
                                        class="glyphicon glyphicon-chevron-left"></i></a>
                                    <span class="page-number" style="background:#3c763d;">第 <strong
                                            id="keyword_this_page"></strong> 页 ⁄ 共 <strong
                                            id="keyword_page_num"></strong> 页</span>
                                <a class="older-posts" id="keyword_page_next"
                                   style="cursor: pointer;text-decoration : none;background: #3c763d"><i
                                        class="glyphicon glyphicon-chevron-right"></i></a>
                            </nav>
                        </div>
                    </div>
                </div>
                <!--头像修改-->
                <div class="modal-dialog" id="photo_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close close_modal" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_photo">
                                <span aria-hidden="true">×</span></button>
                            <h4 class="modal-title">头像修改</h4>
                        </div>
                        <div class="modal-body" id="modal_photo_show">

                        </div>
                        <div class="modal-footer">
                            <span id="upload_photo_warning"></span>
                            <input type="button" class="btn btn-primary" id="upload_photo" value="修改头像"/>
                        </div>
                    </div>
                </div>
                <!--文章修改-->
                <div class="modal-dialog modal-lg" id="word_info_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_word_info"><span
                                    aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="WordInfoModal">文章祥细信息</h4>
                        </div>
                        <div class="modal-body">
                            <input type="hidden" id="word_label_hidden">
                            <input type="hidden" id="word_id_hidden">
                            <table id="word_info_table" class="table table-condensed table-responsive">

                            </table>
                        </div>
                        <div class="modal-footer">
                            <span id="word_info_warning" class="text-center"></span>
                            <button class='btn btn-danger delete_word'>删除</button>
                            <button type="button" class="btn btn-success" id="replace_word" style="display: none">更新
                            </button>
                            <button type="button" class="btn btn-warning" id="return_word" style="display: none">取消修改
                            </button>
                            <button type="button" class="btn btn-primary" id="word_info_upset">修改</button>
                        </div>
                    </div>
                </div>
                <!--文章创建-->
                <style>
                    #editor {
                        overflow: scroll;
                        max-height: 100px
                    }
                </style>
                <div class="modal-dialog modal-lg" id="word_create_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_word_create"><span
                                    aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="WordCreateModal">新建文章</h4>
                        </div>
                        <div class="modal-body">
                            <input type="hidden" id="word_create_label_hidden">
                            <table id="word_create_table" class="table table-condensed table-responsive">
                                <tr>
                                    <td class='span6'>
                                        <div class='input-group'>
                                            <span class='input-group-addon' id='basic-addon6'>文章标题</span>
                                            <input type='text' class='form-control' id="word_creae_title"
                                                   aria-describedby="basic-addon6">
                                        </div>
                                    </td>
                                    <td class='span6'>
                                        <div class='input-group'>
                                            <span class='input-group-addon btn-group'>文章标签</span>
                                            <input type='text' class='form-control' id="word_create_label"
                                                   aria-describedby="basic-addon7">
                                            <span class="input-group-addon glyphicon glyphicon-plus add_label"
                                                  style="cursor: pointer"></span>
                                            <ul class='dropdown-menu' role='menu'
                                                style='display: none; margin-left: 80px'
                                                id='word_create_typeahead'>
                                            </ul>
                                            <input type="hidden" id="word_create_label_hidden">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan='2'>
                                        <div class="btn-toolbar" data-role="editor-toolbar" data-target="#editor">
                                            <div class="btn-group">
                                                <a class="btn dropdown-toggle" data-toggle="dropdown" title="Font"><i
                                                        class="icon-font"></i><b
                                                        class="caret"></b></a>
                                                <ul class="dropdown-menu">
                                                    <li><a data-edit="fontName Serif"
                                                           style="font-family:'Serif'">Serif</a></li>
                                                    <li><a data-edit="fontName Sans" style="font-family:'Sans'">Sans</a>
                                                    </li>
                                                    <li><a data-edit="fontName Arial"
                                                           style="font-family:'Arial'">Arial</a></li>
                                                    <li><a data-edit="fontName Arial Black"
                                                           style="font-family:'Arial Black'">Arial Black</a>
                                                    </li>
                                                    <li><a data-edit="fontName Courier" style="font-family:'Courier'">Courier</a>
                                                    </li>
                                                    <li><a data-edit="fontName Courier New"
                                                           style="font-family:'Courier New'">Courier New</a>
                                                    </li>
                                                    <li><a data-edit="fontName Comic Sans MS"
                                                           style="font-family:'Comic Sans MS'">Comic Sans
                                                            MS</a></li>
                                                    <li><a data-edit="fontName Helvetica"
                                                           style="font-family:'Helvetica'">Helvetica</a></li>
                                                    <li><a data-edit="fontName Impact" style="font-family:'Impact'">Impact</a>
                                                    </li>
                                                    <li><a data-edit="fontName Lucida Grande"
                                                           style="font-family:'Lucida Grande'">Lucida
                                                            Grande</a></li>
                                                    <li><a data-edit="fontName Lucida Sans"
                                                           style="font-family:'Lucida Sans'">Lucida Sans</a>
                                                    </li>
                                                    <li><a data-edit="fontName Tahoma" style="font-family:'Tahoma'">Tahoma</a>
                                                    </li>
                                                    <li><a data-edit="fontName Times"
                                                           style="font-family:'Times'">Times</a></li>
                                                    <li><a data-edit="fontName Times New Roman"
                                                           style="font-family:'Times New Roman'">Times New
                                                            Roman</a></li>
                                                    <li><a data-edit="fontName Verdana" style="font-family:'Verdana'">Verdana</a>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div class="btn-group">
                                                <a class="btn dropdown-toggle" data-toggle="dropdown" title="Font Size"><i
                                                        class="icon-text-height"></i>&nbsp;<b class="caret"></b></a>
                                                <ul class="dropdown-menu">
                                                    <li><a data-edit="fontSize 5"><font size="5">Huge</font></a></li>
                                                    <li><a data-edit="fontSize 3"><font size="3">Normal</font></a></li>
                                                    <li><a data-edit="fontSize 1"><font size="1">Small</font></a></li>
                                                </ul>
                                            </div>
                                            <div class="btn-group">
                                                <a class="btn" data-edit="bold" title="Bold (Ctrl/Cmd+B)"><i
                                                        class="icon-bold"></i></a>
                                                <a class="btn" data-edit="italic" title="Italic (Ctrl/Cmd+I)"><i
                                                        class="icon-italic"></i></a>
                                                <a class="btn" data-edit="strikethrough" title="Strikethrough"><i
                                                        class="icon-strikethrough"></i></a>
                                                <a class="btn" data-edit="underline" title="Underline (Ctrl/Cmd+U)"><i
                                                        class="icon-underline"></i></a>
                                            </div>
                                            <div class="btn-group">
                                                <a class="btn" data-edit="insertunorderedlist" title="Bullet list"><i
                                                        class="icon-list-ul"></i></a>
                                                <a class="btn" data-edit="insertorderedlist" title="Number list"><i
                                                        class="icon-list-ol"></i></a>
                                                <a class="btn" data-edit="outdent" title="Reduce indent (Shift+Tab)"><i
                                                        class="icon-indent-left"></i></a>
                                                <a class="btn" data-edit="indent" title="Indent (Tab)"><i
                                                        class="icon-indent-right"></i></a>
                                            </div>
                                            <div class="btn-group">
                                                <a class="btn" data-edit="justifyleft"
                                                   title="Align Left (Ctrl/Cmd+L)"><i
                                                        class="icon-align-left"></i></a>
                                                <a class="btn" data-edit="justifycenter" title="Center (Ctrl/Cmd+E)"><i
                                                        class="icon-align-center"></i></a>
                                                <a class="btn" data-edit="justifyright"
                                                   title="Align Right (Ctrl/Cmd+R)"><i
                                                        class="icon-align-right"></i></a>
                                                <a class="btn" data-edit="justifyfull" title="Justify (Ctrl/Cmd+J)"><i
                                                        class="icon-align-justify"></i></a>
                                            </div>
                                            <div class="btn-group">
                                                <a class="btn" data-edit="undo" title="Undo (Ctrl/Cmd+Z)"><i
                                                        class="icon-undo"></i></a>
                                                <a class="btn" data-edit="redo" title="Redo (Ctrl/Cmd+Y)"><i
                                                        class="icon-repeat"></i></a>
                                            </div>

                                        </div>

                                        <div id="editor" contenteditable="true"></div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <span id="word_create_warning" class="text-center"></span>
                            <button class='btn btn-danger' id="word_create_reset">重置</button>
                            <button type="button" class="btn btn-primary" id="create_word">创建</button>
                        </div>
                    </div>
                </div>
                <!--友情链接-->
                <div class="modal-dialog modal" id="friend_href_create_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_friend_href_create"><span
                                    aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="FriendHrefCreateModal">新建友情链接</h4>
                        </div>
                        <div class="modal-body">
                            <input type="hidden" id="friend_href_create_label_hidden">
                            <table id="word_create_table" class="table table-condensed table-responsive">
                                <tr>
                                    <td class='span3'>
                                        <div class='input-group'>
                                            <span class='input-group-addon' id='basic-addon6'>友情链接名</span>
                                            <input type='text' class='form-control' id="friend_href_create_title"
                                                   aria-describedby="basic-addon6">
                                        </div>
                                    </td>
                                    <td class='span3'>
                                        <div class='input-group'>
                                            <span class='input-group-addon btn-group'>友情链接</span>
                                            <input type='text' class='form-control' id="friend_href_create_label"
                                                   aria-describedby="basic-addon7">
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <span id="friend_href_create_warning" class="text-center"></span>
                            <button class='btn btn-danger' id="friend_href_create_reset">重置</button>
                            <button type="button" class="btn btn-primary" id="create_friend_href">创建</button>
                        </div>
                    </div>
                </div>
                <!--新建敏感词-->
                <div class="modal-dialog modal-sm" id="keyword_create_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_keyword_create"><span
                                    aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="KeywordCreateModal">新建敏感词</h4>
                        </div>
                        <div class="modal-body">
                            <input type="hidden" id="friend_href_create_label_hidden">
                            <table id="word_create_table" class="table table-condensed table-responsive">
                                <tr>
                                    <td class='span3'>
                                        <div class='input-group'>
                                            <span class='input-group-addon' id='basic-addon6'>敏感词</span>
                                            <input type='text' class='form-control' id="keyword_create_name"
                                                   aria-describedby="basic-addon6">
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <span id="keyword_create_warning" class="text-center"></span>
                            <button class='btn btn-danger' id="keyword_create_reset">重置</button>
                            <button type="button" class="btn btn-primary" id="create_keyword">创建</button>
                        </div>
                    </div>
                </div>
                <!--标签添加-->
                <div class="modal-dialog modal-sm" id="label_add_modal" style="display: none;">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                                    id="close_modal_label_add"><span
                                    aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="LabelAddModal">标签添加</h4>
                        </div>
                        <div class="modal-body">
                            <div class="input-group">
                                <span class="input-group-addon" id="basic-addon9">标签名</span>
                                <input type="text" class="form-control" id="label_add_name"
                                       aria-describedby="basic-addon9">
                            </div>
                        </div>
                        <div class="modal-footer">
                            <span id="label_add_warning" class="text-center"></span>
                            <button class='btn btn-danger' id="label_add_reset">重置</button>
                            <button type="button" class="btn btn-primary" id="label_add_btn">添加</button>
                        </div>
                    </div>
                </div>
            </main>
            <nav class="col-md-3 col-xs-3 col-lg-3 col-sm-3" id="right_row">
                <div class="nav pinned" style="margin-top:20px ">
                    <div class="list-group">
                        <a class="list-group-item list-group-item-danger"
                           onclick="$('html,body').animate({scrollTop: $('#visit_info').offset().top}, 1000);"
                           style="cursor: pointer">访客记录查询</a>
                        <a class="list-group-item list-group-item-success"
                           onclick="$('html,body').animate({scrollTop: $('#word').offset().top}, 1000);"
                           style="cursor: pointer">文章查看，更新，新建，删除</a>
                        <a class="list-group-item list-group-item-info"
                           onclick="$('html,body').animate({scrollTop: $('#reply').offset().top}, 1000);"
                           style="cursor: pointer">留言查看,删除</a>
                        <a class="list-group-item list-group-item-warning"
                           onclick="$('html,body').animate({scrollTop: $('#label').offset().top}, 1000);"
                           style="cursor: pointer">标签查看，更新，新建，删除</a>
                        <a class="list-group-item list-group-item-danger"
                           onclick="$('html,body').animate({scrollTop: $('#about_me').offset().top}, 1000);"
                           style="cursor: pointer">关于我查看，更新，头像更新</a>
                        <a class="list-group-item list-group-item-success"
                           onclick="$('html,body').animate({scrollTop: $('#friend_href').offset().top}, 1000);"
                           style="cursor: pointer">友情链接查看，更新，新建，删除</a>
                        <a class="list-group-item list-group-item-info"
                           onclick="$('html,body').animate({scrollTop: $('#blog').offset().top}, 1000);"
                           style="cursor: pointer">系统日志查看，删除</a>
                        <a class="list-group-item list-group-item-warning glyphicon glyphicon-arrow-up text-muted"
                           onclick="$('html,body').animate({scrollTop: $('#content').offset().top}, 1000);"
                           style="cursor: pointer">&nbsp;&nbsp;置顶</a>
                        <a href="<?=constant("APP")?>"
                           class="list-group-item list-group-item-danger glyphicon glyphicon-home text-muted">&nbsp;&nbsp;返回首页</a>
                    </div>
            </div>
            </nav>
    </div>
</section>
<script src="<?=constant("APP")?>/public/js/jquery.js"></script>
<script src="<?=constant("APP")?>/public/js/bootstrap.min.js"></script>
<script src="<?=constant("APP")?>/public/js/ajaxupload.js"></script>
<script src="<?=constant("APP")?>/public/js/jquery.pin.js"></script>
<script src="<?=constant("APP")?>/public/js/bootstrap-wysiwyg.js"></script>
<script src="<?=constant("APP")?>/public/js/jquery.hotkeys.js"></script>
<script src="<?=constant("APP")?>/public/js/google-code-prettify/prettify.js"></script>
<script src="<?=constant("APP")?>/public/js/Chart.js"></script>
<!--[if lte IE 8]>
<script src="<?= constant(" FCPATH") ?>/public/js/excanvas.js"></script>
<![endif]-->
<script>
    $(document).ready(function () {
        $(".pinned").pin({
            containerSelector: ".container",
            minWidth: 940
        });
        $('#editor').wysiwyg();
    });

</script>
<script src="<?=constant("APP")?>/public/js/root.js"></script>
